<?php
function renderNavigation()
{
	$employeeId = $_SESSION['employee_id'];
	
	$nav = "<div id='navigation'>";
	
		$nav .= "<a href='home.php'>";
			$nav .= "<img id='logo' src='view/img/logo2.jpg' alt='Logout' />";
		$nav .= "</a>";
	
		$nav .= "<table>";
			$nav .= "<tr>";
				$nav .= "<td>";
					$nav .= "<p><b>Employee Id:</b> $employeeId</p>";
				$nav .= "</td>";
				$nav .= "<td>";
					$nav .= "<a href='controller/php/logout.php' class='logoutbutton'>Logout</a>";
				$nav .= "</td>";
			$nav .= "</tr>";
		$nav .= "</table>";
		
		$nav .= "<hr />";
		
	$nav .= "</div>";
	
	return $nav;
}

function renderMobileNavigation()
{
	$employeeId = $_SESSION['employee_id'];
	
	$nav = "<div id='navigation'>";
	
		$nav .= "<a href='home.php'>";
			$nav .= "<img id='logo' src='../view/img/logo2.jpg' alt='Logout' />";
		$nav .= "</a>";
	
		$nav .= "<table>";
			$nav .= "<tr>";
				$nav .= "<td>";
					$nav .= "<p><b>Employee Id:</b> $employeeId</p>";
				$nav .= "</td>";
				$nav .= "<td>";
					$nav .= "<a href='../controller/php/logout.php' class='logoutbutton'>Logout</a>";
				$nav .= "</td>";
			$nav .= "</tr>";
		$nav .= "</table>";
		
		$nav .= "<hr />";
		
	$nav .= "</div>";
	
	return $nav;
}
?>